const path = require('path');

module.exports = () => {
  return {
    plugins: {
      'postcss-pxtorem': {
        rootValue({
          file
        }) {
          return file.includes(path.join('node_modules', 'vant')) ? 37.5 : 75
        },
        propList: ['*']
      }
    }
  }
}
